package lab.gene.action;

import com.opensymphony.xwork2.ActionSupport;
import lab.gene.service.impl.PrimerSequenceServiceImpl;

public class DeletePrimerSequenceAction extends ActionSupport {
	private static final long serialVersionUID = 1L;
	private Integer id;
	
	String geneName = null;
	public String execute() {
		//System.out.println("_____________"+id);
		//System.out.println(geneName+"*****************8");
		PrimerSequenceServiceImpl service = new PrimerSequenceServiceImpl();
		service.deletePrimer(id);
		return "success";
	}
	
	
	public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}



	public String getGeneName() {
		return geneName;
	}

	public void setGeneName(String geneName) {
		this.geneName = geneName;
	}
	
	

}
